.PHONY:all
all:tcpClient tcpServer

tcpServer:tcpServer.cc
	g++ -o $@ $^ -std=c++11 -l pthread   # 使用了线程库，所以得包含线程库的哦
tcpClient:tcpClient.cc
	g++ -o $@ $^ -std=c++11

.PHONY:clean
clean:
	rm -f tcpClient tcpServer


	